<form id="joomla15_crawl_form" method="post">
	category:<!-- <input type="text" name="catid" id="catid" maxlength="100"	tabindex="2" value="" style="width:404px;height:22px;" /> --> 
	<select id="catid" name="catid"  style="width:404px;height:32px;" tabindex="2">
		{foreach $categories.0 as $section_id=>$section_name}
		    <optgroup label="{$section_name}">
		    	 {foreach $categories.$section_id as $cat_id => $cat_name}
				   	<option value ="{$cat_id}">&nbsp;&nbsp;{$cat_name}</option>
				  {/foreach}
		    </optgroup>
		{/foreach}
	</select> <br /><br />
	
	url: <input type="text" name="url" id="url" maxlength="500" tabindex="2" value=""  style="width:404px;height:22px;" /> <br />
	<input id="joomla15_crawl_submit" type="button" value="开始" />
</form>
<script type="text/javascript">
	jQuery(document).ready(function() {
		$("#joomla15_crawl_submit").click(function() {
			$.post("{$smarty.const.BAOGG_BASE_URL}microblog/widget/get-data/widget_id/joomla15_crawl", $("#joomla15_crawl_form").serialize(),		   
				function(data) {
					alert("Data Loaded: " + data);
				});
			});
		$("#content_se_search").css("display","none")
		});
</script>